package edu.tongji.engine.db.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Actor entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Actor {

	// Fields

	private Long id;
	private Role role;
	private String name;
	private String email;
	private Set<Task> tasks = new HashSet(0);


	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Role getRole() {
		return this.role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<Task> getTasks() {
		return this.tasks;
	}

	public void setTasks(Set<Task> tasks) {
		this.tasks = tasks;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

}